#LinuxClient
- Powershell is similar to Bash language.
![[Pasted image 20240319092118.png]]
- Richard Stallman did reverse engineering and created GNU to be distributed freely. / Created the term "Copyleft". He invented theopen-source notion. He was considered a communist.
Levels of Unix
- Core: Material level
- Shell: Text/command level
- X Window: Graphic level
- root is the administrator user.
- Unix basically done for multiple users.
![[Pasted image 20240319094618.png]]
Distros
- Elementary OS -- similar to MacOS
- Ubuntu, Kubuntu, Zubuntu etc
distrosea.com for linux distros in your browser directly !
OEM : commercialized custom distribution ready to be installed directly
~ = Tilde, around, environment, yaklaşık
pwd = print working directory
$ = normal user account
# = root user account
ByPassing user login
This works on LinuxMint and some certain distros. When system starts press ESC > Advanced Options > Continue as root to access the root terminal.
bash : is a shell. (born again shell)
UGO logic : Users / Groups / Others
![[users and groups in linux 3.png]]
| Users | Groups | Others |
|---|---|---|
| rwx | r-x | --- |
Execute rights of documents
- There are no scripts/shells executable by default on linux.
- We give the x right to the file and it becomes executable.
Archieving & Zips RARS
Tar to archive a file, get everything at one place. Doesn't compress.
Gzip and Bzip2 to compress them. Extensions will be .tar.gz or .tar.bz2. Bzip2 compresses better but takes more time to complete.
System Monitoring & Surveillance
Use htop to see active actions.
sudo apt install htop htop
[[MC Midnight Commander]]
to manage files easily you can change the read-write rights easily
![[Pasted image 20240321144153.png]]
cron automatization
we create a new shell with nano test.sh we write
#!/bin/bash
clear
ls -al
echo "lance firefox"
firefox&
we command > sh test.sh to launch firefox with this shell app.